﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace LingStudy
{
    class Program
    {
        static void Main(string[] args)
        {

            List<int> collect = new List<int>();
            int[] aa = { 1, 2, 3, 5, 8, 9, 39, 4, 5, 89, 35, 17, 23, 9, 87, 2 };
            collect.AddRange(aa);
            var ff = from num in collect where num > 8 select new { gg = num };
            var list = Enumerable.Range(10, 20);
            var jj = collect.TakeWhile(i => i < 5);


            Console.WriteLine("Hello World!");
        }
    }
}
